<#assign uncapTableName = "${tableName}"?uncap_first>
package ${parentName}.${moduleName}.core.domain.service.impl;

import ${parentName}.${moduleName}.core.domain.service.${tableName}DomainService;
import ${parentName}.${moduleName}.core.domain.repository.${tableName}Repository;
import ${parentName}.${moduleName}.core.domain.aggregatemodel.${tableName};
import ${parentName}.${moduleName}.core.domain.aggregatemodel.Del${tableName};
import lombok.extern.slf4j.Slf4j;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
* @author ${author}
* @since ${date}
*/

@Slf4j
@Service
@AllArgsConstructor
public class ${tableName}DomainServiceImpl implements ${tableName}DomainService {

    private ${tableName}Repository ${uncapTableName}Repository;
    /**
     * 新增
     */
    @Override
    public ${tableName} add${tableName}(${tableName} ${uncapTableName}){
        return ${uncapTableName}Repository.add${tableName}(${uncapTableName});
    }

    /**
     * 删除
     */
    @Override
    public void del${tableName}(Del${tableName} del${tableName}){
        ${uncapTableName}Repository.del${tableName}(del${tableName});
    }

    /**
     * 修改
     */
    @Override
    public ${tableName} update${tableName}(${tableName} ${uncapTableName}){
        return ${uncapTableName}Repository.update${tableName}(${uncapTableName});
    }

}